﻿Public Class Lotes 

    Private Sub LotesBindingNavigatorSaveItem_Click(sender As System.Object, e As System.EventArgs) Handles LotesBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.LotesBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.DbFireAndIceDataSet)

    End Sub

    Private Sub Lotes_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'DbFireAndIceDataSet.bodega' table. You can move, or remove it, as needed.
        Me.BodegaTableAdapter.Fill(Me.DbFireAndIceDataSet.bodega)
        'TODO: This line of code loads data into the 'DbFireAndIceDataSet.proveedores' table. You can move, or remove it, as needed.
        Me.ProveedoresTableAdapter.Fill(Me.DbFireAndIceDataSet.proveedores)
        'TODO: This line of code loads data into the 'DbFireAndIceDataSet.usuarios' table. You can move, or remove it, as needed.
        Me.UsuariosTableAdapter.Fill(Me.DbFireAndIceDataSet.usuarios)
        'TODO: This line of code loads data into the 'DbFireAndIceDataSet.productos' table. You can move, or remove it, as needed.
        Me.ProductosTableAdapter.Fill(Me.DbFireAndIceDataSet.productos)
        'TODO: This line of code loads data into the 'DbFireAndIceDataSet.lotes' table. You can move, or remove it, as needed.
        Me.LotesTableAdapter.Fill(Me.DbFireAndIceDataSet.lotes)

    End Sub

    Private Sub SimpleButton1_Click(sender As System.Object, e As System.EventArgs) Handles SimpleButton1.Click
        LotesGridControl.ShowPrintPreview()
    End Sub
End Class